package com.iwop.moto.service.impl;

import com.iwop.moto.dao.FCounponLimitDao;
import com.iwop.moto.model.FCouponLimit;
import com.iwop.moto.service.FCouponLimitService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author czq
 * @version 1.0
 * @created 2017/3/28 0028.
 */
@Service
public class FCouponLimitServiceImpl implements FCouponLimitService {
    @Autowired
    FCounponLimitDao fCounponLimitDao;


    @Override
    public FCouponLimit findOneByClientType(String clientType) {
      return fCounponLimitDao.findOneByClientType(clientType);
    }

    @Override
    public List<FCouponLimit> listCouponLimit() {
        return fCounponLimitDao.listCouponLimit();
    }
}
